
int.o:     file format elf64-littleaarch64


Disassembly of section .text:

0000000000000000 <main>:
	int age;
}B;


int main()
{
   0:	a9bd7bfd 	stp	x29, x30, [sp, #-48]!
   4:	910003fd 	mov	x29, sp
	B * b;

	char * tmp1;
	int * tmp2;

	a.num = 1;
   8:	52800020 	mov	w0, #0x1                   	// #1
   c:	b90013a0 	str	w0, [x29, #16]

	tmp1 = (char *)(&(a.num));
  10:	910043a0 	add	x0, x29, #0x10
  14:	f90017a0 	str	x0, [x29, #40]
	printf("%c\n", *tmp1);
  18:	f94017a0 	ldr	x0, [x29, #40]
  1c:	39400000 	ldrb	w0, [x0]
  20:	2a0003e1 	mov	w1, w0
  24:	90000000 	adrp	x0, 0 <main>
  28:	91000000 	add	x0, x0, #0x0
  2c:	94000000 	bl	0 <printf>
	tmp1  = tmp1 + 4;
  30:	f94017a0 	ldr	x0, [x29, #40]
  34:	91001000 	add	x0, x0, #0x4
  38:	f90017a0 	str	x0, [x29, #40]
//	printf("%c\n", *tmp1);
	*tmp1 = 'a';
  3c:	f94017a0 	ldr	x0, [x29, #40]
  40:	52800c21 	mov	w1, #0x61                  	// #97
  44:	39000001 	strb	w1, [x0]
//	printf("%c\n", *tmp1);

	tmp2 = (int *)(&(a.num));
  48:	910043a0 	add	x0, x29, #0x10
  4c:	f90013a0 	str	x0, [x29, #32]
//	printf("%d\n", *tmp2);
	tmp2 = tmp2 + 2;
  50:	f94013a0 	ldr	x0, [x29, #32]
  54:	91002000 	add	x0, x0, #0x8
  58:	f90013a0 	str	x0, [x29, #32]
//	printf("%d\n", *tmp2);
	*tmp2 = 100;
  5c:	f94013a0 	ldr	x0, [x29, #32]
  60:	52800c81 	mov	w1, #0x64                  	// #100
  64:	b9000001 	str	w1, [x0]
//	printf("%d\n", *tmp2);

	b = (B *)(&a);
  68:	910043a0 	add	x0, x29, #0x10
  6c:	f9000fa0 	str	x0, [x29, #24]
	printf("b->num = %d b->type = %c b->age = %d\n", b->num, b->type, b->age);
  70:	f9400fa0 	ldr	x0, [x29, #24]
  74:	b9400001 	ldr	w1, [x0]
  78:	f9400fa0 	ldr	x0, [x29, #24]
  7c:	39401000 	ldrb	w0, [x0, #4]
  80:	2a0003e4 	mov	w4, w0
  84:	f9400fa0 	ldr	x0, [x29, #24]
  88:	b9400802 	ldr	w2, [x0, #8]
  8c:	90000000 	adrp	x0, 0 <main>
  90:	91000000 	add	x0, x0, #0x0
  94:	2a0203e3 	mov	w3, w2
  98:	2a0403e2 	mov	w2, w4
  9c:	94000000 	bl	0 <printf>


	return 0;
  a0:	52800000 	mov	w0, #0x0                   	// #0
}
  a4:	a8c37bfd 	ldp	x29, x30, [sp], #48
  a8:	d65f03c0 	ret
